import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Search from '@/views/search/index'
import Association from '@/views/search/association'
import Condition from '@/views/search/condition'
import Explore from '@/views/explore/index'
import Monitor from '@/views/monitor/index'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/search',
      name: 'Search',
      component: Search
    },
    {
      path: '/search/association',
      name: 'Association',
      component: Association
    },
    {
      path: '/search/condition',
      name: 'Condition',
      component: Condition
    },
    {
      path: '/explore',
      name: 'Explore',
      component: Explore
    },
    {
      path: '/monitor',
      name: 'Monitor',
      component: Monitor
    }
  ]
})
